package com.lianxueda.drawing.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author 29264
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("teachers")
public class Teachers {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField(value = "contact_way")
    private String contactWay;
    private String avatar;
    private String introduction;

    @TableField("created_time")
    private LocalDateTime createdTime;
}